package com.bawei.composeui2207a.model

/**
 * 作者：赵亮
 * 时间：2024/12/12 16:27
 * 功能：数据类
 */

// 热门电影列表 数据类
data class MovieEntity(
    val message: String,
    val result: List<Result>,
    val status: String
) {
    data class Result(
        val director: String,
        val horizontalImage: String,
        val imageUrl: String,
        val movieId: Int,
        val name: String,
        val score: Double,
        val starring: String
    )
}

// 商品数据类
data class GoodEntity(
    val message: String,
    val result: List<Result>,
    val status: String
) {
    data class Result(
        val commodityId: Int,
        val commodityName: String,
        val masterPic: String,
        val price: Int,
        val saleNum: Int,
        val videoUrl: String
    )
}

// 登录数据类
data class LoginEntity(
    val message: String,
    val result: Result,
    val status: String
) {
    data class Result(
        val headPic: String,
        val nickName: String,
        val phone: String,
        val sessionId: String,
        val sex: Int,
        val userId: Int
    )
}

// 注册数据类
data class RegisterEntity(
    val message: String,
    val status: String
)